import httpService from "@/API/axios";

//login
export const login = (data) => {
  return httpService.post("/api/user/login", data);
};

//register
export const register = (data) => {
  return httpService.post("/api/user/register", data);
};